<template>
  <div class="employees-container">
    <div class="app-container">
      <PageTools>
        <template #left>
          <div>
            商品搜索：
            <el-input v-model="input" placeholder="请输入内容" style="width:210px" />
            <el-button type="primary" style="margin-left:10px" icon="el-icon-search">查询</el-button>
          </div>
        </template>

      </PageTools>
      <tableList :tabres="tabRes" />
    </div>

  </div>
</template>

<script>
import tableList from './component/index.vue'
import { tableSeach } from '@/api'
export default {
  components: {
    tableList
  },
  data() {
    return {
      input: '',
      // 数据
      tabRes: []

    }
  },
  async created() {
    const res = await tableSeach()
    this.tabRes = res.data.currentPageRecords
    console.log(this.tabRes, '???')
  },
  methods: {

  }

}

</script>
<style lang='less' scoped>
</style>
